package com.sgb.kjwl.model.entity;

import com.google.gson.annotations.SerializedName;
import com.sgb.kjwl.model.entity.user.RotationEntity;

import java.util.List;

public class TenderDetailEntity {
    @SerializedName("no")
    private String no;
    @SerializedName("retenDue")
    private String retenDue;
    @SerializedName("introduce")
    private String introduce;
    @SerializedName("apprTime")
    private String apprTime;
    @SerializedName("retenMoney")
    private String retenMoney;
    @SerializedName("contact")
    private String contact;
    @SerializedName("contactNum")
    private String contactNum;
    @SerializedName("qualifications")
    private String qualifications;
    @SerializedName("retenCycle")
    private String retenCycle;
    @SerializedName("overDue")
    private String overDue;
    @SerializedName("projName")
    private String projName;
    @SerializedName("compName")
    private String compName;
    @SerializedName("projNo")
    private String projNo;
    @SerializedName("compNo")
    private String compNo;
    @SerializedName("rate")
    private String rate;
    @SerializedName("name")
    private String name;
    @SerializedName("endTime")
    private String endTime;
    @SerializedName("settleType")
    private String settleType;
    @SerializedName("otherRequire")
    private String otherRequire;
    @SerializedName("bidded")
    private String bidded;
    @SerializedName("buttonPromtp")
    private String buttonPromtp;
    @SerializedName("status")
    private String status;
    @SerializedName("tenderTypeNo")
    private String tenderTypeNo;

    /**新增字段
     * pubTime:发布时间
     * tenderType:招标类型
     * tenderPrice:招标预算
     * enginAddress:工程地址
     * supplierHandle:是否包含装卸（"0"：否，"1"：是）
     * supplierCarriage:是否包含运费（"0"：否，"1"：是）
     * supplierIsrate:是否包含税率（"0"：否，"1"：是）
     * supplierUnload:是否包含卸车（"0"：否，"1"：是）
     * supplierCondition:现场条件
     */
    @SerializedName("pubTime")
    private String pubTime;
    @SerializedName("tenderType")
    private String tenderType;
    @SerializedName("tenderPrice")
    private String tenderPrice;
    @SerializedName("enginAddress")
    private String enginAddress;
    @SerializedName("supplierHandle")
    private String supplierHandle;
    @SerializedName("supplierCarriage")
    private String supplierCarriage;
    @SerializedName("supplierIsrate")
    private String supplierIsrate;
    @SerializedName("supplierUnload")
    private String supplierUnload;
    @SerializedName("supplierCondition")
    private String supplierCondition;
    @SerializedName("id")
    private String id;
    @SerializedName("rotationList")
    private List<RotationEntity> rotationList;
    @SerializedName("state")
    private int state;

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }

    public String getRetenDue() {
        return retenDue;
    }

    public void setRetenDue(String retenDue) {
        this.retenDue = retenDue;
    }

    public String getIntroduce() {
        return introduce;
    }

    public void setIntroduce(String introduce) {
        this.introduce = introduce;
    }

    public String getApprTime() {
        return apprTime;
    }

    public void setApprTime(String apprTime) {
        this.apprTime = apprTime;
    }

    public String getRetenMoney() {
        if ("".equals(retenMoney)) {
            return retenMoney;
        } else if (retenMoney == null) {
            return "";
        } else {
            return retenMoney;
        }
    }

    public void setRetenMoney(String retenMoney) {
        this.retenMoney = retenMoney;
    }

    public String getContact() {
        return contact;
    }

    public void setContact(String contact) {
        this.contact = contact;
    }

    public String getContactNum() {
        return contactNum;
    }

    public void setContactNum(String contactNum) {
        this.contactNum = contactNum;
    }

    public String getQualifications() {
        if ("".equals(qualifications)) {
            return "暂无数据";
        } else {
            return qualifications;
        }
    }

    public void setQualifications(String qualifications) {
        this.qualifications = qualifications;
    }

    public String getRetenCycle() {
        if ("".equals(retenCycle)) {
            return retenCycle;
        } else {
            return retenCycle + "天";
        }
    }

    public void setRetenCycle(String retenCycle) {
        this.retenCycle = retenCycle;
    }

    public String getOverDue() {
        return overDue;
    }

    public void setOverDue(String overDue) {
        this.overDue = overDue;
    }

    public String getProjName() {
        return projName;
    }

    public void setProjName(String projName) {
        this.projName = projName;
    }

    public String getCompName() {
        return compName;
    }

    public void setCompName(String compName) {
        this.compName = compName;
    }

    public String getProjNo() {
        return projNo;
    }

    public void setProjNo(String projNo) {
        this.projNo = projNo;
    }

    public String getCompNo() {
        return compNo;
    }

    public void setCompNo(String compNo) {
        this.compNo = compNo;
    }

    public String getRate() {
        if ("".equals(rate)) {
            return rate;
        } else {
            return rate;
        }
    }

    public void setRate(String rate) {
        this.rate = rate;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getSettleType() {
        return settleType;
    }

    public void setSettleType(String settleType) {
        this.settleType = settleType;
    }

    public String getOtherRequire() {
        if ("".equals(otherRequire)) {
            return "无";
        } else {
            return otherRequire;
        }
    }

    public void setOtherRequire(String otherRequire) {
        this.otherRequire = otherRequire;
    }

    public String getBidded() {
        return bidded;
    }

    public void setBidded(String bidded) {
        this.bidded = bidded;
    }

    public String getButtonPromtp() {
        return buttonPromtp;
    }

    public void setButtonPromtp(String buttonPromtp) {
        this.buttonPromtp = buttonPromtp;
    }

    public String getPubTime() {
        return pubTime;
    }

    public void setPubTime(String pubTime) {
        this.pubTime = pubTime;
    }

    public String getTenderType() {
        return tenderType;
    }

    public void setTenderType(String tenderType) {
        this.tenderType = tenderType;
    }

    public String getTenderPrice() {
        return tenderPrice;
    }

    public void setTenderPrice(String tenderPrice) {
        this.tenderPrice = tenderPrice;
    }

    public String getEnginAddress() {
        return enginAddress;
    }

    public void setEnginAddress(String enginAddress) {
        this.enginAddress = enginAddress;
    }

    public String getSupplierHandle() {
        return supplierHandle;
    }

    public void setSupplierHandle(String supplierHandle) {
        this.supplierHandle = supplierHandle;
    }

    public String getSupplierCarriage() {
        return supplierCarriage;
    }

    public void setSupplierCarriage(String supplierCarriage) {
        this.supplierCarriage = supplierCarriage;
    }

    public String getSupplierIsrate() {
        return supplierIsrate;
    }

    public void setSupplierIsrate(String supplierIsrate) {
        this.supplierIsrate = supplierIsrate;
    }

    public String getSupplierUnload() {
        return supplierUnload;
    }

    public void setSupplierUnload(String supplierUnload) {
        this.supplierUnload = supplierUnload;
    }

    public String getSupplierCondition() {
        return supplierCondition;
    }

    public void setSupplierCondition(String supplierCondition) {
        this.supplierCondition = supplierCondition;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public List<RotationEntity> getRotationList() {
        return rotationList;
    }

    public void setRotationList(List<RotationEntity> rotationList) {
        this.rotationList = rotationList;
    }

    public String getTenderTypeNo() {
        return tenderTypeNo;
    }

    public void setTenderTypeNo(String tenderTypeNo) {
        this.tenderTypeNo = tenderTypeNo;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }
}
